package com.patterns.client;

import com.patterns.Cache;
import com.patterns.connection.ClientConnection;
import com.patterns.connection.Connection;

public class Client {
	
	private Connection connection;
	
	public Client(Connection connect){		
		connection = connect;
	}
	
	public Cache getCache(){
		return ( (ClientConnection) connection ).getCache();
	}
	
	
}
